<template>
  <div>
    <el-container>
      <el-aside width="150px" v-if="false">
        <sidebar :navArr="arrTitle"></sidebar>
      </el-aside>
      <el-main><router-view></router-view></el-main>
    </el-container>
  </div>
</template>

<script>
import sidebar from "@/pages/sideBar/sidebar";
export default {
  data() {
    return {
      arrTitle: [
        { title: "我的账号", isTrue: false, url: "/home/setting/myaccount" },
        { title: "角色管理", isTrue: false, url: "/home/setting/rolemanage" },
        { title: "数据权限管理", isTrue: false, url: "/home/setting/datapermitmanage" },
        { title: "用户权限管理", isTrue: false, url: "/home/setting/userpermitmanage" },
        { title: "账号管理", isTrue: false, url: "/home/setting/accountmanage" },
      ],
      height: "91.5vh",
    };
  },
  components: {
    sidebar,
  },
};
</script>

<style lang="less" scoped>
// .el-aside {
//   background-color: #e7f2ff !important;
//   color: #333;
//   text-align: center;
//   height: 91.5vh;
// }
// .el-container {
//   width: 100%;
// }
// .el-main {
//   background-color: #fafbfc;
//   color: #333;
//   text-align: center;
//   line-height: 160px;
// }
</style>